package com.monitor.entity.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * 基础实体父类.
 *
 * @author Li Zhiyuan
 * @since 2020-11-13
 */
@ApiModel("基础实体")
@Data
public class BaseEntityRequest implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;
}
